Skip to content

Update an Enumerable#uniq spec and add Enumerator::Lazy#uniq specs - #448

Merged
eregon merged 3 commits into
ruby:masterfrom
kachick:lazy-uniq
Jun 21, 2017
Merged

eregon merged 3 commits into
ruby:masterfrom
kachick:lazy-uniq

Conversation

@kachick

@kachick kachick commented Jun 21, 2017

Copy link
Copy Markdown
Member

Comment thread core/enumerable/uniq_spec.rb Outdated
end
end

ruby_bug '#13669', ''...'2.5' do

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#54 🤔

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be backported in 2.4.
In the meanwhile it's OK to have this ruby_bug guard.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK to have

☺️

BTW, Range syntax makes 🔴 😕 https://travis-ci.org/ruby/spec/jobs/245452368
So updated as a satisfied version as fe53279

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

''...'2.5' means excluding 2.5, '2.5' means until 2.5 inclusive.
ruby-head in Travis is old (from May), that's why it fails.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a typical synchronization problem.
Maybe I should stop testing against ruby-head or allow failure on Travis,
since MRI already runs ruby/spec on trunk.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 📝

@eregon
eregon merged commit 370d2ad into ruby:master Jun 21, 2017
@kachick
kachick deleted the lazy-uniq branch June 22, 2017 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants